OBJS = imshow.o
TARGET = imshow

OPENCV_LIBS = \
	-lopencv_core \
	-lopencv_calib3d \
	-lopencv_dnn \
	-lopencv_features2d \
	-lopencv_flann \
	-lopencv_highgui \
	-lopencv_imgcodecs \
	-lopencv_imgproc \
	-lopencv_ml \
	-lopencv_objdetect \
	-lopencv_photo \
	-lopencv_shape \
	-lopencv_stitching \
	-lopencv_superres \
	-lopencv_video \
	-lopencv_videoio \
	-lopencv_videostab \

detection : $(OBJS)
	g++ -o $(TARGET) $(OBJS) -I /usr/local/include/ -L /usr/local/lib/ $(OPENCV_LIBS) -v

detection.o : imshow.cpp
	g++ -c imshow.cpp

clean : 
	rm imshow $(OBJS)
